#include "YundaLabel.h"
#include<QHBoxLayout>


YundaLabel::YundaLabel(QWidget* parent)
	: QFrame(parent)
{
	colorLb = new QLabel(this);
	textLb = new QLabel(this);
	textLb->setObjectName("textLabel");
	colorLb->setObjectName("colorLabel");
	QHBoxLayout* hL = new QHBoxLayout(this);
	hL->setContentsMargins(0, 0, 0, 0);
	hL->setSpacing(5);
	hL->addWidget(colorLb);
	hL->addWidget(textLb);
}
YundaLabel::~YundaLabel()
{
}

void YundaLabel::setText(QString text)
{
	textLb->setText(text);
}
